/**
 * @Des
 * @Author
 * @Date
 */
// 横向渐变
@mixin background-landscape ($topbg, $bottombg) {
    background: $bottombg;
    background: -webkit-gradient(linear, 0 50%, 100% 50%, from($topbg), to($bottombg));
    background: -moz-linear-gradient(left, $topbg, $bottombg);
    background: -webkit-linear-gradient(left, $topbg, $bottombg);
    background: -ms-linear-gradient(left, $topbg, $bottombg);
    background: -o-linear-gradient(left, $topbg, $bottombg);
}

// 纵向渐变
@mixin background-portrait ($topbg, $bottombg) {
    background: $bottombg;
    // filter: alpha(opacity=100 finishopacity=50 style=1 startx=0, starty=0, finishx=0, finishy=150) progid:DXImageTransform.Microsoft.gradient(startcolorstr=$topbg, endcolorstr=$bottombg, gradientType=0);
    background: -webkit-gradient(linear, 50% 0, 50% 100%, from($topbg), to($bottombg));
    background: -moz-linear-gradient(top, $topbg, $bottombg);
    background: -webkit-linear-gradient(top, $topbg, $bottombg);
    background: -ms-linear-gradient(top, $topbg, $bottombg);
    background: -o-linear-gradient(top, $topbg, $bottombg);
}
